﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Traceability.Infrastructure
{
    public interface IBaseRepository<T>
    {
        public TraceabilityDbContext context { get; set; }
        IQueryable<T> GetAll();
        Task<int> Add(T entity);
        Task<int> Update(T entity);
        int Del(List<T> entity);
        int UpdateRange(List<T> entity);
    }
}
